@import '~styles/settings.scss';

.l-mapbuilder-page {
  .column-btn {
    width: 100%;
    margin: 10px 0;
  }

  .page-cover {
    z-index: 2;
  }

  .image-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;

    &::after {
      content: "";
      display: block;
      position: absolute;
      z-index: 0;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
    }
  }

  .summary-section {
    padding: 60px 0 40px;
    z-index: 2;
    position: relative;
    background-color: $white;
  }

  .summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;

    .summary-icon {
      width: 100px;
      height: auto;
      margin-bottom: 20px;
    }

    .summary-title {
      margin-bottom: 15px;
    }

    .summary-description {
      max-width: 250px;
    }
  }

  .guide-section {
    padding: 60px 0;
    z-index: 2;
    position: relative;

    .guide-title,
    .guide-intro {
      color: $white;
    }

    .guide-title {
      margin-bottom: 30px;
    }

    .guide-intro {
      margin-bottom: 100px;
    }

    .guide-column {
      margin-bottom: 70px;
    }

    .get-started-btn {
      width: 100%;
      margin-top: 40px;
    }
  }

  .guide-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: $white;
    padding: 30px 30px 50px 30px;
    height: 100%;
    position: relative;

    .guide-number {
      position: absolute;
      top: -40px;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 80px;
      min-width: 80px;
      height: 80px;
      border: solid 3px $green-gfw;
      border-radius: 50%;
      color: $green-gfw;
      font-size: 35px;
      background-color: $white;
    }

    .guide-text {
      margin-top: 30px;
    }
  }

  .maps-section {
    padding: 60px 0 30px;
    border-bottom: solid 1px $border;
    background-color: $white;
    z-index: 2;
    position: relative;

    .maps-title {
      margin-bottom: 30px;
    }

    .maps-intro {
      margin-bottom: 50px;
    }

    .maps-card {
      margin-bottom: 30px;
    }
  }

  .tutorials-section {
    background-color: $white;
    padding: 60px 0;
    border-bottom: solid 1px $border;
    z-index: 2;
    position: relative;

    .tutorials-title {
      margin-bottom: 30px;
    }

    .tutorials-intro {
      margin-bottom: 50px;
    }

    .tutorials-card {
      margin-bottom: 30px;
    }
  }
}
